
public class Ferrari extends SportsCar{

	private static final int MIN_INS_PRICE = 1000;
	private String model;
	private int insurancePrice;
	
	Ferrari(boolean isCabrioler, double price) {
		super(isCabrioler, price);
		model = "";
	}
	
	Ferrari(boolean isCabrioler, double price, String model, int insurancePrice){
		this(isCabrioler, price);
		setModel(model);
		setInsurancePrice(insurancePrice);
	}
	public String getModel() {
		return model;
	}
	public void setModel(String model) {
		if(model != null && model.length()>0)
		this.model = model;
	}
	public int getInsurancePrice() {
		return insurancePrice;
	}
	public void setInsurancePrice(int insurancePrice) {
		if(insurancePrice>MIN_INS_PRICE)
		this.insurancePrice = insurancePrice;
	}
	
	void driveLikeCrazy(){
		System.out.println("Can't get me now!!!");
	}
	
	
}
